﻿using UnityEngine;
using System.Collections;

public class AppearFromAbove : MonoBehaviour {

	// Use this for initialization
	void Start () {
		this.transform.localPosition = new Vector3(0,1080,0);
		//TweenPosition.Begin(this.gameObject, 1, Vector3.zero);
		TweenPosition tween = TweenPosition.Begin(this.gameObject, 1.5f, Vector3.zero);
		
		tween.delay = 1f;
		
		tween.method = UITweener.Method.BounceIn;
		
	}
	
	void CloseMenu()
	{
		TweenScale.Begin(this.gameObject, 0.5f, Vector3.zero);
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
